package com.study.callBack;

public class Boss {

    public void addWork(){
        Employee employee = new Employee();
        employee.work(this);
    }
    public void callBack(){
        System.out.println("接受到工作完成消息");
    }

    public static void main(String[] args) {
        Boss boss = new Boss();
        boss.addWork();
    }

}
